package org.example.myleet.p475;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(1 == solution.findRadius(new int[]{1,2,3}, new int[]{2}));
        Assert.isTrue(1 == solution.findRadius(new int[]{1,2,3,4}, new int[]{1,4}));
        Assert.isTrue(3 == solution.findRadius(new int[]{1,5}, new int[]{2}));
        Assert.isTrue(0 == solution.findRadius(new int[]{1,2,3}, new int[]{1,2,3}));
        Assert.isTrue(161834419 == solution.findRadius(new int[]{282475249,622650073,984943658,144108930,470211272,101027544,457850878,458777923}, new int[]{823564440,115438165,784484492,74243042,114807987,137522503,441282327,16531729,823378840,143542612}));
    }
}
